<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta charset="UTF-8">

		<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.3.1.js"></script> 
		<script type="text/javascript" src="__PUBLIC__/Js/jquery.thickbox.js"></script> 
		<link rel="stylesheet" href="__PUBLIC__/Css/thickbox.css" type="text/css" media="screen" />

        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/bootstrap.css" />
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/bootstrap-responsive.css" />
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/style.css" />
       
        <script type="text/javascript" src="__PUBLIC__/Js/jquery.sorted.js"></script>
        <script type="text/javascript" src="__PUBLIC__/Js/bootstrap.js"></script>
        <script type="text/javascript" src="__PUBLIC__/Js/ckform.js"></script>
        <script type="text/javascript" src="__PUBLIC__/Js/common.js"></script>
        <script type="text/javascript" src="__PUBLIC__/js/date/WdatePicker.js"></script>
        <style type="text/css">
            body {
                padding-bottom: 40px;
            }
            .sidebar-nav {
                padding: 9px 0;
            }
			#table td{
				text-align:center;
				height:50px;
				line-height:50px;
			}
			#table th{
				text-align:center;
			}
            @media (max-width: 980px) {
                /* Enable use of floated navbar text */
                .navbar-text.pull-right {
                    float: none;
                    padding-left: 5px;
                    padding-right: 5px;
                }
            }
        </style>
        <script type="text/javascript">
            function del(id) {
                if (confirm('确认删除吗？')) {
                    location.href = '__APP__/User/del/id/' + id;
                }
            }
        </script>
    </head>
    <body>
       
        <table class="table table-bordered table-hover definewidth m10" id="table">
            <thead>
                <tr>
                    <th>会员ID</th>
                    <th>会员名</th>
					<th>性别</th>
					<th>年龄</th>
                    <th>注册时间</th>
					<th>手机号</th>
					<th>会员头像</th>
                    <th>最后登录</th>
                    <th>操作</th>
                </tr>
            </thead>
            <empty name="lists">
                <tr><td colspan="6">无查询记录</td></tr>
                <else />
                <volist name="lists" id="list">
                    <tr>
                        <td>{$list.vip_id}</td>
                        <td>{$list.vipname}</td>
						<td>{$list.sex}</td>
						<td>{$list.age}</td>
                        <td>{$list.regtime}</td>
                        <td>{$list.regphone}</td>
						<td>
							<a href="__PUBLIC__/Uploads/m_{$list.vip_pic}" class="thickbox"  title="会员头像"><img src="__PUBLIC__/Uploads/s_{$list.vip_pic}"/></a>
						</td>
						<td>{$list.lastlogintime}</td>
                        <td>[<a href="__APP__/Vip/edit/vip_id/{$list.vip_id}">修改</a>]&nbsp;&nbsp; 
						 [<a href="__APP__/Vip/state/vip_id/{$list.vip_id}">
						 <script>
							if({$list.vip_state} == 0){
								document.write('禁用');
							}else{
								document.write('启用');
							}
						 </script></a>]
                        </td>
                    </tr>
                </volist>
            </empty>

        </table>
        <div class="inline pull-right page">
            {$show}
        </div>
    </body>
</html>